
package com.kugou.game.sdk.entity;

import java.util.ArrayList;
import java.util.List;

/** 消息实体 */
public class MessageInfo{

    String MessageId;

    String content;

    String title;

    String imageUrl;

    String type;

    String packagename;

    String downloadUrl;
    
    List<String> packagenames;
    
    String contentUrl;

    public String getMessageId() {
        return MessageId;
    }

    public void setMessageId(String messageId) {
        MessageId = messageId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPackagename() {
        return packagename;
    }

    public void setPackagename(String packagename) {
        this.packagename = packagename;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public void setPackageNames(List<String> list){
    	packagenames = list;
    }
    
    public void setContentUrl(String str){
    	contentUrl = str;
    }
    
    /**
     * 外链地址，仅在type值为4时才有数据
     */
    public String getContentUrl(){
    	return contentUrl;
    }

    /**
     * 该方法只有在type为3时才有数据
     * @return 指定推送的游戏的包名
     */
    public List<String> getPackageNames(){
    	return packagenames;
    }
    
    @Override
    public String toString() {
        return "MessageInfo [MessageId=" + MessageId + ", content=" + content + ", title=" + title
                + ", imageUrl=" + imageUrl + ", type=" + type + ", packagename=" + packagename
                + ", downloadUrl=" + downloadUrl + "]";
    }

}
